/dports/math/blaze/blaze-3.8/blaze/math/sparse/ |
H A D | ZeroMatrix.h | 196 class ZeroMatrix 265 ZeroMatrix( const ZeroMatrix& ) = default; 266 ZeroMatrix( ZeroMatrix&& ) = default; 295 ZeroMatrix& operator=( const ZeroMatrix& ) & = default; 296 ZeroMatrix& operator=( ZeroMatrix&& ) & = default; 393 constexpr ZeroMatrix<Type,SO,Tag>::ZeroMatrix() noexcept in ZeroMatrix() function 409 constexpr ZeroMatrix<Type,SO,Tag>::ZeroMatrix( size_t m, size_t n ) noexcept in ZeroMatrix() function 430 inline ZeroMatrix<Type,SO,Tag>::ZeroMatrix( const Matrix<MT,SO2>& m ) in ZeroMatrix() function 820 constexpr void ZeroMatrix<Type,SO,Tag>::swap( ZeroMatrix& m ) noexcept in swap() 1878 struct HighType< ZeroMatrix<T1,SO,Tag>, ZeroMatrix<T2,SO,Tag> > [all …]
|
/dports/math/blaze/blaze-3.8/blazetest/src/mathtest/matrices/sparsematrix/ |
H A D | ZeroTest.cpp | 123 blaze::ZeroMatrix<float,blaze::rowMajor> mat; in testIsNan() 226 blaze::ZeroMatrix<float,blaze::rowMajor> mat; in testIsInf() 329 blaze::ZeroMatrix<float,blaze::rowMajor> mat; in testIsFinite() 432 blaze::ZeroMatrix<int,blaze::rowMajor> mat; in testIsSymmetric() 583 blaze::ZeroMatrix<cplx,blaze::rowMajor> mat; in testIsHermitian() 734 blaze::ZeroMatrix<int,blaze::rowMajor> mat; in testIsUniform() 885 blaze::ZeroMatrix<int,blaze::rowMajor> mat; in testIsZero() 1036 blaze::ZeroMatrix<int,blaze::rowMajor> mat; in testIsLower() 1187 blaze::ZeroMatrix<int,blaze::rowMajor> mat; in testIsUniLower() 1338 blaze::ZeroMatrix<int,blaze::rowMajor> mat; in testIsStrictlyLower() [all …]
|
/dports/science/simbody/simbody-Simbody-3.7/SimTKmath/Optimizers/src/IpOpt/ |
H A D | IpZeroMatrix.hpp | 20 class ZeroMatrix : public Matrix class 29 ZeroMatrix(const MatrixSpace* owner_space); 32 ~ZeroMatrix(); 62 ZeroMatrix(); 65 ZeroMatrix(const ZeroMatrix&); 68 void operator=(const ZeroMatrix&); 98 ZeroMatrix* MakeNewZeroMatrix() const in MakeNewZeroMatrix() 100 return new ZeroMatrix(this); in MakeNewZeroMatrix()
|
H A D | IpZeroMatrix.cpp | 14 ZeroMatrix::ZeroMatrix(const MatrixSpace* owner_space) in ZeroMatrix() function in SimTKIpopt::ZeroMatrix 19 ZeroMatrix::~ZeroMatrix() in ~ZeroMatrix() 22 void ZeroMatrix::MultVectorImpl(Number alpha, const Vector &x, in MultVectorImpl() 38 void ZeroMatrix::TransMultVectorImpl(Number alpha, const Vector &x, in TransMultVectorImpl() 54 void ZeroMatrix::PrintImpl(const Journalist& jnlst, in PrintImpl()
|
/dports/math/blaze/blaze-3.8/blazetest/src/mathtest/matrices/zeromatrix/ |
H A D | ClassTest.cpp | 120 blaze::ZeroMatrix<int,blaze::rowMajor> Z; in testConstructors() 407 blaze::ZeroMatrix<int,blaze::columnMajor> Z; in testConstructors() 715 blaze::ZeroMatrix<int,blaze::rowMajor> Z2; in testAssignment() 741 blaze::ZeroMatrix<int,blaze::rowMajor> Z1; in testAssignment() 772 blaze::ZeroMatrix<int,blaze::rowMajor> Z2; in testAssignment() 805 blaze::ZeroMatrix<int,blaze::columnMajor> Z2; in testAssignment() 832 blaze::ZeroMatrix<int,blaze::columnMajor> Z1; in testAssignment() 1245 blaze::ZeroMatrix<int,blaze::rowMajor> Z; in testReset() 1439 blaze::ZeroMatrix<int,blaze::rowMajor> Z; in testClear() 1556 blaze::ZeroMatrix<int,blaze::rowMajor> Z; in testResize() [all …]
|
/dports/math/ipopt/Ipopt-3.12.13/Ipopt/src/LinAlg/ |
H A D | IpZeroMatrix.hpp | 20 class ZeroMatrix : public Matrix class 29 ZeroMatrix(const MatrixSpace* owner_space); 32 ~ZeroMatrix(); 68 ZeroMatrix(); 71 ZeroMatrix(const ZeroMatrix&); 74 void operator=(const ZeroMatrix&); 104 ZeroMatrix* MakeNewZeroMatrix() const in MakeNewZeroMatrix() 106 return new ZeroMatrix(this); in MakeNewZeroMatrix()
|
H A D | IpZeroMatrix.cpp | 14 ZeroMatrix::ZeroMatrix(const MatrixSpace* owner_space) in ZeroMatrix() function in Ipopt::ZeroMatrix 19 ZeroMatrix::~ZeroMatrix() in ~ZeroMatrix() 22 void ZeroMatrix::MultVectorImpl(Number alpha, const Vector &x, in MultVectorImpl() 38 void ZeroMatrix::TransMultVectorImpl(Number alpha, const Vector &x, in TransMultVectorImpl() 54 void ZeroMatrix::PrintImpl(const Journalist& jnlst, in PrintImpl()
|
/dports/math/blaze/blaze-3.8/blazetest/src/mathtest/traits/declzerotrait/ |
H A D | ClassTest.cpp | 304 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclZero() 324 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclZero() 344 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclZero() 364 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclZero() 384 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclZero() 404 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclZero() 416 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclZero() 436 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclZero() 455 using MT = ZeroMatrix<int,rowMajor>; in testMatrixDeclZero() 456 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclZero() [all …]
|
/dports/math/py-sympy/sympy-1.9/sympy/matrices/expressions/tests/ |
H A D | test_special.py | 19 assert unchanged(ZeroMatrix, 2, 2) 20 assert unchanged(ZeroMatrix, 0, 0) 21 raises(ValueError, lambda: ZeroMatrix(-1, 2)) 29 assert unchanged(ZeroMatrix, n, n) 117 Z = ZeroMatrix(n, m) 120 assert A*Z.T == ZeroMatrix(n, n) 121 assert Z*A.T == ZeroMatrix(n, n) 122 assert A - A == ZeroMatrix(*A.shape) 126 assert Z.transpose() == ZeroMatrix(m, n) 129 assert ZeroMatrix(n, n)**0 == Identity(n) [all …]
|
H A D | test_matadd.py | 2 from sympy.matrices.expressions.special import GenericZeroMatrix, ZeroMatrix 44 assert Add(ZeroMatrix(2, 2), ZeroMatrix(2, 2)) == ZeroMatrix(2, 2) 48 raises(TypeError, lambda: Add(0, ZeroMatrix(2, 2)))
|
H A D | test_blockmatrix.py | 8 Inverse, trace, Transpose, det, ZeroMatrix) 112 z = ZeroMatrix(2, 2) 136 assert det(BlockMatrix([ZeroMatrix(n, n)])) == 0 178 D = ZeroMatrix(m, m) 188 C = ZeroMatrix(m, m) 198 B = ZeroMatrix(n, n) 208 A = ZeroMatrix(n, n) 391 [ZeroMatrix(n, n), ZeroMatrix(n, n)], 392 [ZeroMatrix(n, n - 1), ZeroMatrix(n, n + 1)], 395 [ZeroMatrix(n - 1, n), ZeroMatrix(n, n)], [all …]
|
H A D | test_matexpr.py | 86 assert A + ZeroMatrix(n, m) - A == ZeroMatrix(n, m) 88 ZeroMatrix(n,m) + S.Zero 98 assert (A*0*B) == ZeroMatrix(n, l) 103 assert A * ZeroMatrix(m, m) * B == ZeroMatrix(n, l) 250 z1 = ZeroMatrix(n, n) 256 z2 = ZeroMatrix(3, 3) 352 A = ZeroMatrix(2, 3) 353 B = ZeroMatrix(2, 3) 371 z1 = ZeroMatrix(2, 2) 502 X = ZeroMatrix(2, 2) [all …]
|
/dports/math/blaze/blaze-3.8/blazetest/blazetest/mathtest/creator/ |
H A D | ZeroMatrix.h | 63 class Creator< blaze::ZeroMatrix<T,SO> > 67 using Type = blaze::ZeroMatrix<T,SO>; //!< Type to be created by the Creator. 87 blaze::ZeroMatrix<T,SO> operator()() const; 116 inline Creator< blaze::ZeroMatrix<T,SO> >::Creator() in Creator() 131 inline Creator< blaze::ZeroMatrix<T,SO> >::Creator( size_t m, size_t n ) in Creator() 153 inline blaze::ZeroMatrix<T,SO> 154 Creator< blaze::ZeroMatrix<T,SO> >::operator()() const in operator() 156 return blaze::ZeroMatrix<T,SO>( m_, n_ ); in operator()
|
/dports/math/py-Diofant/Diofant-0.13.0/diofant/tests/matrices/ |
H A D | test_matexpr.py | 54 Z = ZeroMatrix(n, m) 57 assert A*Z.T == ZeroMatrix(n, n) 58 assert Z*A.T == ZeroMatrix(n, n) 59 assert A - A == ZeroMatrix(*A.shape) 63 assert transpose(Z) == ZeroMatrix(m, n) 113 assert A + ZeroMatrix(n, m) - A == ZeroMatrix(n, m) 115 ZeroMatrix(n, m) + Integer(0) 125 assert (A*0*B) == ZeroMatrix(n, l) 130 assert A * ZeroMatrix(m, m) * B == ZeroMatrix(n, l) 242 z1 = ZeroMatrix(n, n) [all …]
|
/dports/math/blaze/blaze-3.8/blazetest/src/mathtest/traits/declstrupptrait/ |
H A D | ClassTest.cpp | 227 using MT = ZeroMatrix<int,rowMajor>; in testMatrixDeclStrUpp() 228 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclStrUpp() 235 using MT = ZeroMatrix<int,columnMajor>; in testMatrixDeclStrUpp() 236 using RT = ZeroMatrix<int,columnMajor>; in testMatrixDeclStrUpp() 248 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclStrUpp() 256 using RT = ZeroMatrix<int,columnMajor>; in testMatrixDeclStrUpp() 288 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclStrUpp() 296 using RT = ZeroMatrix<int,columnMajor>; in testMatrixDeclStrUpp() 328 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclStrUpp() 348 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclStrUpp() [all …]
|
/dports/math/blaze/blaze-3.8/blazetest/src/mathtest/traits/declstrlowtrait/ |
H A D | ClassTest.cpp | 227 using MT = ZeroMatrix<int,rowMajor>; in testMatrixDeclStrLow() 228 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclStrLow() 235 using MT = ZeroMatrix<int,columnMajor>; in testMatrixDeclStrLow() 236 using RT = ZeroMatrix<int,columnMajor>; in testMatrixDeclStrLow() 248 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclStrLow() 256 using RT = ZeroMatrix<int,columnMajor>; in testMatrixDeclStrLow() 288 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclStrLow() 296 using RT = ZeroMatrix<int,columnMajor>; in testMatrixDeclStrLow() 368 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclStrLow() 388 using RT = ZeroMatrix<int,rowMajor>; in testMatrixDeclStrLow() [all …]
|
/dports/math/blaze/blaze-3.8/blazetest/src/mathtest/traits/schurtrait/ |
H A D | ClassTest.cpp | 456 using T2 = ZeroMatrix<double,rowMajor>; in testSchurProduct() 457 using RT = ZeroMatrix<double,rowMajor>; in testSchurProduct() 476 using T2 = ZeroMatrix<double,rowMajor>; in testSchurProduct() 477 using RT = ZeroMatrix<double,rowMajor>; in testSchurProduct() 633 using RT = ZeroMatrix<double,rowMajor>; in testSchurProduct() 7301 using T1 = ZeroMatrix<int,rowMajor>; in testSchurProduct() 7311 using T1 = ZeroMatrix<int,rowMajor>; in testSchurProduct() 7345 using T1 = ZeroMatrix<int,rowMajor>; in testSchurProduct() 7355 using T1 = ZeroMatrix<int,rowMajor>; in testSchurProduct() 7389 using T1 = ZeroMatrix<int,rowMajor>; in testSchurProduct() [all …]
|
/dports/math/blaze/blaze-3.8/blaze/math/ |
H A D | ZeroMatrix.h | 69 class Rand< ZeroMatrix<Type,SO,Tag> > 79 inline const ZeroMatrix<Type,SO,Tag> generate( size_t m, size_t n ) const in generate() 81 return ZeroMatrix<Type,SO,Tag>( m, n ); in generate()
|
/dports/math/blaze/blaze-3.8/blazetest/src/mathtest/traits/krontrait/ |
H A D | ClassTest.cpp | 8885 using T1 = ZeroMatrix<int,rowMajor>; in testMatrixKroneckerProduct() 8895 using T1 = ZeroMatrix<int,rowMajor>; in testMatrixKroneckerProduct() 8929 using T1 = ZeroMatrix<int,rowMajor>; in testMatrixKroneckerProduct() 8939 using T1 = ZeroMatrix<int,rowMajor>; in testMatrixKroneckerProduct() 8973 using T1 = ZeroMatrix<int,rowMajor>; in testMatrixKroneckerProduct() 8983 using T1 = ZeroMatrix<int,rowMajor>; in testMatrixKroneckerProduct() 9017 using T1 = ZeroMatrix<int,rowMajor>; in testMatrixKroneckerProduct() 9027 using T1 = ZeroMatrix<int,rowMajor>; in testMatrixKroneckerProduct() 9061 using T1 = ZeroMatrix<int,rowMajor>; in testMatrixKroneckerProduct() 9071 using T1 = ZeroMatrix<int,rowMajor>; in testMatrixKroneckerProduct() [all …]
|
/dports/math/blaze/blaze-3.8/blazetest/src/mathtest/traits/multtrait/ |
H A D | ClassTest.cpp | 931 using T1 = ZeroMatrix<int,rowMajor>; in testMatrixScalarMultiplication() 933 using RT = ZeroMatrix<double,rowMajor>; in testMatrixScalarMultiplication() 941 using T1 = ZeroMatrix<int,columnMajor>; in testMatrixScalarMultiplication() 1029 using RT = ZeroMatrix<double,rowMajor>; in testMatrixScalarMultiplication() 1467 using T2 = ZeroMatrix<int,rowMajor>; in testScalarMatrixMultiplication() 1468 using RT = ZeroMatrix<double,rowMajor>; in testScalarMatrixMultiplication() 1477 using T2 = ZeroMatrix<int,columnMajor>; in testScalarMatrixMultiplication() 1564 using RT = ZeroMatrix<double,rowMajor>; in testScalarMatrixMultiplication() 7520 using T1 = ZeroMatrix<int,rowMajor>; in testMatrixVectorMultiplication() 7544 using T1 = ZeroMatrix<int,rowMajor>; in testMatrixVectorMultiplication() [all …]
|
/dports/math/py-sympy/sympy-1.9/sympy/assumptions/tests/ |
H A D | test_matrices.py | 3 from sympy.matrices.expressions import (MatrixSymbol, Identity, ZeroMatrix, 32 assert ask(Q.invertible(ZeroMatrix(3, 3))) is False 49 assert ask(Q.invertible(BlockMatrix([ZeroMatrix(3, 3)]))) == False 99 assert ask(Q.symmetric(ZeroMatrix(3, 3))) is True 112 assert ask(predicate(ZeroMatrix(3, 3))) is False 131 assert ask(Q.fullrank(ZeroMatrix(3, 3))) is False 151 assert ask(Q.positive_definite(ZeroMatrix(3, 3))) is False 165 assert ask(Q.lower_triangular(ZeroMatrix(3, 3))) is True 166 assert ask(Q.upper_triangular(ZeroMatrix(3, 3))) is True 179 assert ask(Q.diagonal(ZeroMatrix(3, 3))) [all …]
|
/dports/math/py-sympy/sympy-1.9/sympy/stats/tests/ |
H A D | test_symbolic_multivariate.py | 3 from sympy import symbols, MatrixSymbol, Matrix, ZeroMatrix, ShapeError 89 assert expr.expand() == ZeroMatrix(k, k) 92 assert expr.expand() == ZeroMatrix(k, k) 128 assert expr.expand() == ZeroMatrix(1, 1) 132 assert expr.expand() == ZeroMatrix(k, k) 139 assert expr.expand() == ZeroMatrix(k, k)
|
/dports/math/yacas/yacas-1.9.1/tests/ |
H A D | linalg.yts | 77 /* ZeroMatrix */ 78 Testing("ZeroMatrix"); 79 Verify(ZeroMatrix(2,3),{{0,0,0},{0,0,0}}); 140 Verify( IsSkewSymmetric(ZeroMatrix(10,10)), True ); 142 Verify( IsIdempotent(ZeroMatrix(10,10)), True );
|
/dports/math/py-Diofant/Diofant-0.13.0/diofant/matrices/expressions/ |
H A D | matpow.py | 4 from .matexpr import Identity, MatrixExpr, ZeroMatrix 64 elif isinstance(base, ZeroMatrix) and exp.is_negative: 66 elif isinstance(base, (Identity, ZeroMatrix)):
|
/dports/math/yacas/yacas-1.9.1/scripts/linalg.rep/ |
H A D | code.ys | 202 5 # ZeroMatrix(n_IsNonNegativeInteger) <-- ZeroMatrix(n,n); 379 Inv:=ZeroMatrix(l,l); 392 Inv:=ZeroMatrix(l,l); 905 L:=ZeroMatrix(n,n); 906 U:=ZeroMatrix(n,n); 944 L:=ZeroMatrix(n,n); 945 D:=ZeroMatrix(n,n); 946 U:=ZeroMatrix(n,n); 989 L:=ZeroMatrix(n,n); 990 D:=ZeroMatrix(n,n); [all …]
|