[#2] Added Licensing.
I decided on the Apache-2.0 license and have stamped all the files to now point to that license.
This commit is contained in:
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
/// Primitive types that have upper and lower bounds.
|
||||
pub trait Bounded
|
||||
{
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
use std::{f32, f64};
|
||||
|
||||
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
use crate::number::Number;
|
||||
use crate::one::One;
|
||||
use crate::zero::Zero;
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
//! A mathematical library.
|
||||
//! License: Proprietary
|
||||
//!
|
||||
|
||||
@ -0,0 +1,3 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
/// A macro that will define a binary operation for
|
||||
/// a structure and its components.
|
||||
macro_rules! binary_operator_impl
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
//! This module defines the 2x2, 3x3, and 4x4 Matrix structures.
|
||||
//use std::ops::{Add, Sub, Mul, Div, Rem, Neg};
|
||||
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
use std::cmp::{PartialEq, PartialOrd};
|
||||
use std::fmt::{Debug, Display};
|
||||
use std::mem::size_of;
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
use std::ops::Mul;
|
||||
|
||||
/// Defines a multiplicative identity element for `Self`.
|
||||
|
||||
@ -0,0 +1,3 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
|
||||
@ -0,0 +1,3 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
//! This module defines the [Quaternion][1] and
|
||||
//! [DualQuaternion][2] structures.
|
||||
//!
|
||||
|
||||
@ -0,0 +1,3 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
use std::num::FpCategory;
|
||||
use std::ops::Neg;
|
||||
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
//! This section of the library handles the branch of mathematics
|
||||
//! that studies relationships involving lengths and angles of triangles.
|
||||
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
use std::ops::{Add, Sub, Mul, Div, Rem, Neg};
|
||||
use std::ops::{AddAssign, SubAssign, MulAssign, DivAssign, RemAssign};
|
||||
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
use std::ops::{Add, Sub, Mul, Div, Rem, Neg};
|
||||
use std::ops::{AddAssign, SubAssign, MulAssign, DivAssign, RemAssign};
|
||||
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
use binding::{CDouble, CFloat};
|
||||
|
||||
use crate::real::Real;
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
//! This module defines 2, 3, and 4 component [Vector][1] structures.
|
||||
//!
|
||||
//! [1]: https://en.wikipedia.org/wiki/Vector_(mathematics_and_physics)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
use super::number::Number;
|
||||
|
||||
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
use std::ops::Add;
|
||||
|
||||
/// Defines an additive identity element for `Self`.
|
||||
|
||||
Reference in New Issue
Block a user