matrixproduct Function

private pure function matrixproduct(lhs, rhs) result(opr)

Compute the matrix product.

 type(vector) :: pt(2)
 real(R8P)        :: I(3,3)
 pt(1) = 2 * ex
 I = 0._RPP
 I(1,1) = 1._RPP
 I(2,2) = 1._RPP
 I(3,3) = 1._RPP
 pt(2) = I.matrix.pt(1)
 print "(3(F3.1,1X))", abs(pt(2)%x), abs(pt(2)%y), abs(pt(2)%z)

Arguments

TypeIntentOptionalAttributesName
real(kind=R8P), intent(in) :: lhs(3,3)

Left hand side.

class(vector), intent(in) :: rhs

Right hand side.

Return Value type(vector)

Operator result.


Contents

None