Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /branches/charisee_dev/doc/SUPPORTED-OPS
ViewVC logotype

View of /branches/charisee_dev/doc/SUPPORTED-OPS

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3269 - (download) (annotate)
Fri Oct 9 00:54:03 2015 UTC (3 years, 8 months ago) by cchiw
File size: 2951 byte(s)
dev branch
<, <=, >, >=
	int * int -> bool
	tensor[] * tensor[] -> bool

==, !=
	int * int -> bool
	tensor[] * tensor[] -> bool
	bool * bool -> bool
	string * string -> string

unary -
	int -> int
	tensor[sh] -> tensor[sh]
	field#k(d)[sh] -> field#k(d)[sh]

not
	bool -> bool

+, -
	int * int -> int
	tensor[sh] * tensor[sh] -> tensor[sh]
	field#k(d)[sh] * field#k(d)[sh] -> field#k(d)[sh]
	tensor[sh] * field#k(d)[sh] -> field#k(d)[sh]
	field#k(d)[sh] * tensor[sh] -> field#k(d)[sh]

*
	int * int -> int
	tensor[] * tensor[] -> tensor[]
	tensor[] * tensor[sh] -> tensor[sh]
	tensor[sh] * tensor[] -> tensor[sh]
	tensor[] * field#k(d)[sh] -> field#k(d)[sh]
	field#k(d)[sh] * tensor[] -> field#k(d)[sh]
	tensor[sh] * field#k(d)[] -> field#k(d)[sh]
	field#k(d)[] * tensor[sh] -> field#k(d)[sh]
	field#k(d)[] * field#k(d)[] -> field#k(d)[]
	field#k(d)[] * field#k(d)[sh] -> field#k(d)[sh]
	field#k(d)[sh] * field#k(d)[] -> field#k(d)[sh]

/
	int * int -> int
	tensor[] * tensor[] -> tensor[]
	tensor[sh] * tensor[] -> tensor[]
	field#k(d)[sh] * tensor[] -> field#k(d)[sh]
	field#k(d)[] * field#k(d)[] -> field#k(d)[]
	field#k(d)[sh] * field#k(d)[] -> field#k(d)[sh]

•
	tensor[sh1,d] * tensor[d,sh2] -> tensor[sh1,sh2]
	tensor[sh1,d1] * field#k(d2)[d1,sh2] -> field#k(d2)[sh1,sh2]
	field#k(d1)[sh1,d2] * tensor[d2,sh2] -> field#k(d1)[sh1,sh2]
	field#k(d1)[sh1,d2] * field#k(d1)[d2,sh2] -> field#k(d1)[sh1,sh2]

:
	tensor[sh1,d1,d2] * tensor[d1,d2,sh2] -> tensor[sh1,sh2]
	field#k(d)[sh1,d1,d2] * field#k(d)[d1,d2,sh2] -> field#k(d1)[sh1,sh2]

×
	tensor[2] * tensor[2] -> tensor[]
	tensor[3] * tensor[3] -> tensor[3]
	field#k(d)[2] * field#k(d)[2] -> tensor[]
	field#k(d)[3] * field#k(d)[3] -> field#k(d)[3]

⊗
	tensor[d1] * tensor[d2] -> tensor[d1,d2]
	field#k(d)[d1] * field#k(d)[d2] -> field#k(d)[d1,d2] 

^
	tensor[] * int -> tensor[]
	tensor[] * tensor[] -> tensor[]

⊛
	image(d)[sh] * kernel#k -> field#k(d)[sh]
	kernel#k * image(d)[sh] -> field#k(d)[sh]

∇×
	field#k+1(2)[2] -> field#k(2)[]
	field#k+1(3)[3] -> field#k(3)[3]

∇•
	field#k+1(d1)[sh,d2] -> field#k(d1)[d2]

∇
	field#k+1(d)[] -> field#k(d)[d]

∇⊗
	field#k+1(d)[sh] -> field#k(d)[sh,d]

|()|
	tensor[sh] -> tensor[]	   	
	field#k(d1)[sh] -> field#k(d1)[]		

normalize
	tensor[sh] -> tensor[sh]	 
	field#k(d1)[sh] -> field#k(d1)[sh] 

trace
	tensor[d,d] -> tensor[]
	field#k(d1)[sh,d2,d2] -> field#k(d1)[sh]  

transpose
	tensor[d1,d2] -> tensor[d2,d1]
	field#k(d)[d1,d2] -> field#k(d)[d2,d1]

modulate
	tensor[d] * tensor[d] -> tensor[d]
det
	tensor[2,2]  -> tensor[]
        tensor[3,3]  -> tensor[]
	field#k(d)[2,2] ->field#k(d)[]
	field#k(d)[3,3] -> field#k(d)[]

(*todo: merge trig functions*)
cos
    tensor[] -> tensor[]	
cosF
    field#k(d)[] ->field#k(d)[]
sin
    tensor[] -> tensor[]
sinF
    field#k(d)[] ->field#k(d)[]
arccos
    tensor[] -> tensor[]
arccosF
    field#k(d)[] ->field#k(d)[]
arcsin
    tensor[] -> tensor[]
arcsinF
    field#k(d)[] ->field#k(d)[]



root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0