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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2927 - (download) (annotate)
Tue Mar 3 23:01:39 2015 UTC (4 years, 10 months ago) by jhr
File size: 1723 byte(s)
  add documentation of supported operators
<, <=, >, >=
	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]

+, -
	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]
	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[d1] * tensor[d2] -> tensor[d1,d2]
	field#k(d)[d1] * field#k(d)[d2] -> field#k(d)[d1,d2]  ## check this!!!

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

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

∇×

∇•

∇

∇⊗

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