Mapleを活用して線形代数演算を行うときは、まず
| > with(linalg): | 
| 
>a:=vector([1,2])
 (ベクトルa=(1,2) の作成) >b:=vector([-3,2]) (ベクトルb=(-3,2) の作成) >evalm(2 * (a-2 * b)-(3 * a+b)) (2(a-2b)-(3a+b)の計算) >innerprod(a,b) (内積a・bの計算) >innerprod(vector([x,y,z]) , vector([u,v,w])) (内積 (x,y,z)・(u,v,w) の計算) 
 | 
[正解例]
| 
>with(LinearAlgebra) :
 | 
| 
>a:=Vector([1,2])
 (ベクトル a = (1,2)の作成) >b:=Vector([-3,2]) (ベクトル b = (-3,2)の作成) >2 * (a-2 * b)-(3 * a+b) (2(a-2b)-(3a+b)の計算) >a . b (内積a・bの計算) >Vector([x,y,z]) . Vector([u,v,w]) (内積 (x,y,z)・(u,v,w) の計算) 
 | 
| >a . b | 
| >DotProduct (a,b) | 
 が求まります。特に
| >DotProduct(a,b,conjugate=false) | 
| 
>Vector([x,y,z]) . Vector([u,v,w])
 >DotProduct (Vector ([x,y,z]) , Vector ([u,v,w])) >DotProduct (Vector ([x,y,z]) , Vector ([u,v,w]) , conjugate=false)  | 
[正解例]