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.
TensorRank0List
A list of tensors of rank 0 (a list of scalars).
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.
TensorRank1List
A list of d-dimensional tensors of rank 1.
TensorRank1List2D
A 2D list of d-dimensional tensors of rank 1.
TensorRank1Vec
A vector of d-dimensional tensors of rank 1.
TensorRank2List
A list of d-dimensional tensors of rank 2.
TensorRank2List2D
A 2D list of d-dimensional tensors of rank 2.
TensorRank2Vec
A vector of d-dimensional tensors of rank 2.
TensorRank2Vec2D
A 2D vector of d-dimensional tensors of rank 2.
TensorRank3List
A list of d-dimensional tensors of rank 3.
TensorRank3List2D
A 2D list of d-dimensional tensors of rank 3.
TensorRank3List3D
A 3D list of d-dimensional tensors of rank 3.
TensorRank4List
A list of d-dimensional tensor of rank 4.
TestError
Vector
A vector.

Constants§

IDENTITY
IDENTITY_00
IDENTITY_10
IDENTITY_1010
LEVI_CIVITA
ZERO
ZERO_10

Traits§

ContractAllIndicesWithFirstIndicesOf
ContractFirstSecondIndicesWithSecondIndicesOf
ContractFirstThirdFourthIndicesWithFirstIndicesOf
ContractSecondFourthIndicesWithFirstIndicesOf
ContractSecondIndexWithFirstIndexOf
ContractThirdFourthIndicesWithFirstSecondIndicesOf
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_tols
levi_civita
Returns the rank-3 Levi-Civita symbol.
tensor_rank_0_list
tensor_rank_1
tensor_rank_2
tensor_rank_1_list
tensor_rank_1_list_2d
tensor_rank_1_zero
Returns the rank-1 zero tensor as a constant.
tensor_rank_2_list

Type Aliases§

TensorRank0
A tensor of rank 0 (a scalar).