Damon

20 Reputation

4 Badges

8 years, 361 days

MaplePrimes Activity


These are replies submitted by Damon

@ecterrab 

Thanks, Edgardo, the Physics package does exactly what is needed.

@Preben Alsholm 

 

Great!  Thanks Preben!

@tomleslie 

I can see the attachment at the bottom of the first "Attachment" reply, after the code listing.  Is there something I have to do to make this visible to others?

@tomleslie 

 

Sorry, I'm new here, and the interface to this forum is not very intuitive to me.  Anyway, the program is attached now.


NULL

NULL

restart

[`&x`, Add, Adjoint, BackwardSubstitute, BandMatrix, Basis, BezoutMatrix, BidiagonalForm, BilinearForm, CARE, CharacteristicMatrix, CharacteristicPolynomial, Column, ColumnDimension, ColumnOperation, ColumnSpace, CompanionMatrix, ConditionNumber, ConstantMatrix, ConstantVector, Copy, CreatePermutation, CrossProduct, DARE, DeleteColumn, DeleteRow, Determinant, Diagonal, DiagonalMatrix, Dimension, Dimensions, DotProduct, EigenConditionNumbers, Eigenvalues, Eigenvectors, Equal, ForwardSubstitute, FrobeniusForm, GaussianElimination, GenerateEquations, GenerateMatrix, Generic, GetResultDataType, GetResultShape, GivensRotationMatrix, GramSchmidt, HankelMatrix, HermiteForm, HermitianTranspose, HessenbergForm, HilbertMatrix, HouseholderMatrix, IdentityMatrix, IntersectionBasis, IsDefinite, IsOrthogonal, IsSimilar, IsUnitary, JordanBlockMatrix, JordanForm, KroneckerProduct, LA_Main, LUDecomposition, LeastSquares, LinearSolve, LyapunovSolve, Map, Map2, MatrixAdd, MatrixExponential, MatrixFunction, MatrixInverse, MatrixMatrixMultiply, MatrixNorm, MatrixPower, MatrixScalarMultiply, MatrixVectorMultiply, MinimalPolynomial, Minor, Modular, Multiply, NoUserValue, Norm, Normalize, NullSpace, OuterProductMatrix, Permanent, Pivot, PopovForm, QRDecomposition, RandomMatrix, RandomVector, Rank, RationalCanonicalForm, ReducedRowEchelonForm, Row, RowDimension, RowOperation, RowSpace, ScalarMatrix, ScalarMultiply, ScalarVector, SchurForm, SingularValues, SmithForm, StronglyConnectedBlocks, SubMatrix, SubVector, SumBasis, SylvesterMatrix, SylvesterSolve, ToeplitzMatrix, Trace, Transpose, TridiagonalForm, UnitVector, VandermondeMatrix, VectorAdd, VectorAngle, VectorMatrixMultiply, VectorNorm, VectorScalarMultiply, ZeroMatrix, ZeroVector, Zip]

NULL

``

``

NULL

NULL

with(VectorCalculus)

BasisFormat(false)

NULL

NULL

delta[1] := `<,>`(1, 0, 0)

delta[1] := Vector(3, {(1) = 1, (2) = 0, (3) = 0})

(1)

delta[2] := `<,>`(0, 1, 0)

delta[2] := Vector(3, {(1) = 0, (2) = 1, (3) = 0})

(2)

delta[3] := `<,>`(0, 0, 1)

delta[3] := Vector(3, {(1) = 0, (2) = 0, (3) = 1})

(3)

delta[1].delta[2]

0

(4)

delta[1].delta[1]

1

(5)

NULL

Eq2 := sum(delta[j], j = 1 .. 3)

Eq2 := Vector(3, {(1) = 1, (2) = 1, (3) = 1})

(6)

Eq3 := delta[1].delta[1]+delta[1].delta[2]+delta[1].delta[3]+delta[2].delta[1]+delta[2].delta[2]+delta[2].delta[3]+delta[3].delta[1]+delta[3].delta[2]+delta[3].delta[3]

3

(7)

NULL

NULL

NULL

NULL

Eq4 := sum(sum(delta[i].delta[j], j = 1 .. 3), i = 1 .. 3)

Eq4 := Vector(3, {(1) = Vector(3, {(1) = 1, (2) = 1, (3) = 1}), (2) = Vector(3, {(1) = 1, (2) = 1, (3) = 1}), (3) = Vector(3, {(1) = 1, (2) = 1, (3) = 1})})

(8)

NULL

``

``

``


Download Summations_0.mwSummations_0.mw

@tomleslie 

Original Code attached

@tomleslie 

Interesting.  So sum is different from add?

I attached my original code.

Page 1 of 1