Skip to main content

Module math

Module math 

Source
Expand description

Mathematics library.

Modules§

integrate
Integration and ODEs.
interpolate
Interpolation schemes.
optimize
Optimization and root finding.
special
Special functions.

Structs§

Banded
Rearrangement structure for a banded matrix.
Matrix
A matrix.
SquareMatrix
A square matrix.
TensorList
TensorRank1
A d-dimensional tensor of rank 1.
TensorRank2
A d-dimensional tensor of rank 2.
TensorRank3
A d-dimensional tensor of rank 3.
TensorRank4
A d-dimensional tensor of rank 4.
TensorTuple
TensorVector
TestError
Vector
A vector.

Enums§

TensorError
Possible errors for tensors.

Constants§

IDENTITY
IDENTITY_00
IDENTITY_10
IDENTITY_22
IDENTITY_1010
LEVI_CIVITA
ZERO
ZERO_10

Traits§

ContractAllIndicesWithFirstIndicesOf
ContractFirstSecondIndicesWithSecondIndicesOf
ContractFirstThirdFourthIndicesWithFirstIndicesOf
ContractSecondFourthIndicesWithFirstIndicesOf
ContractSecondIndexWithFirstIndexOf
ContractThirdFourthIndicesWithFirstSecondIndicesOf
ContractThirdIndexWithFirstIndexOf
Hessian
Common methods for Hessians.
Jacobian
Common methods for Jacobians.
Rank2
Common methods for rank-2 tensors.
Solution
Common methods for solutions.
Tensor
Common methods for tensors.
TensorArray
Common methods for tensors derived from arrays.
TensorVec
Common methods for tensors derived from Vec.

Functions§

assert_eq
assert_eq_within
assert_eq_within_tols
levi_civita
Returns the rank-3 Levi-Civita symbol.
tensor_rank_1_zero
Returns the rank-1 zero tensor as a constant.

Type Aliases§

Scalar
A scalar.
ScalarList
A list of scalars.
ScalarListVec
A vector of lists of scalars.
Scalars
A vector of scalars.
TensorRank0
A tensor of rank 0 (a scalar).
TensorRank0List
TensorRank0List2D
TensorRank1List
TensorRank1List2D
TensorRank1RefVec
TensorRank1Vec
TensorRank1Vec2D
TensorRank2List
TensorRank2List2D
TensorRank2ListVec
TensorRank2Vec
TensorRank2Vec2D
TensorRank4List
TensorRank4Vec
TensorTupleList
TensorTupleListVec
TensorTupleListVec2D
TensorTupleVec