grapes-.T-grapes: Matrix - Matrix Traspose Multiplication

Description Usage Arguments Value Author(s) Examples

Description

Calculates: ans = A.B**T where A and B are matrices

Usage

1
A %.T% B

Arguments

A

a reference object of class 'number' with rank 2

B

a reference object of class 'number' with rank 2

Value

Returns a reference object of class 'number'

Author(s)

Filippo Monari

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
modello.init(10, 10, 10, 10)
A = number(matrix(rnorm(9), 3, 3))
B = number(matrix(rnorm(9), 3, 3))
b = number(matrix(rnorm(3), 1, 3))
ans1 = A %.T% B
ans2 = A %.T% b
print(ans1)
print(ans1$v)
print(ans2)
print(ans2$v)
modello.close()

modello documentation built on Feb. 2, 2021, 9:06 a.m.