Top Level Namespace

Defined Under Namespace

Modules: Annlat Classes: AnnLat, Array, AssocBinOpe, Atom, BinOpe, Concept, Expon, Fixnum, Float, Frac, Func, Hash, Image, Latex, LatexConsec, LatexList, LatexSet, Negative, Product, Rational, Set, String, Sum, Table, Wrapped

Constant Summary collapse

Plus =
Atom.new('+')
Times =
Atom.new('\ccdot ')
Minus =
Atom.new('-')

Instance Method Summary collapse

Instance Method Details

#alphaObject

Greek alphabet



251
# File 'lib/annlat/LaRuby.rb', line 251

def alpha() Atom.new('\alpha ') end

#betaObject



252
# File 'lib/annlat/LaRuby.rb', line 252

def beta() Atom.new('\beta ') end

#cDeltaObject



279
# File 'lib/annlat/LaRuby.rb', line 279

def cDelta() Atom.new('\Delta ') end

#cGammaObject



278
# File 'lib/annlat/LaRuby.rb', line 278

def cGamma() Atom.new('\Gamma ') end

#chiObject



275
# File 'lib/annlat/LaRuby.rb', line 275

def chi() Atom.new('\cchi ') end

#cLambdaObject



281
# File 'lib/annlat/LaRuby.rb', line 281

def cLambda() Atom.new('\Lmabda ') end

#cOmegaObject



288
# File 'lib/annlat/LaRuby.rb', line 288

def cOmega() Atom.new('\Omega ') end

#cPhiObject



286
# File 'lib/annlat/LaRuby.rb', line 286

def cPhi() Atom.new('\Phi ') end

#cPiObject



283
# File 'lib/annlat/LaRuby.rb', line 283

def cPi() Atom.new('\Pi ') end

#cPsiObject



287
# File 'lib/annlat/LaRuby.rb', line 287

def cPsi() Atom.new('\Psi ') end

#cSigmaObject



284
# File 'lib/annlat/LaRuby.rb', line 284

def cSigma() Atom.new('\Sigma ') end

#cThetaObject



280
# File 'lib/annlat/LaRuby.rb', line 280

def cTheta() Atom.new('\Theta ') end

#cUpsilonObject



285
# File 'lib/annlat/LaRuby.rb', line 285

def cUpsilon() Atom.new('\Upsilon ') end

#cXiObject



282
# File 'lib/annlat/LaRuby.rb', line 282

def cXi() Atom.new('\Xi ') end

#deltaObject



254
# File 'lib/annlat/LaRuby.rb', line 254

def delta() Atom.new('\delta ') end

#epsilonObject



255
# File 'lib/annlat/LaRuby.rb', line 255

def epsilon() Atom.new('\epsilon ') end

#etaObject



258
# File 'lib/annlat/LaRuby.rb', line 258

def eta() Atom.new('\eta ') end

#final?Boolean

Returns:

  • (Boolean)


1
2
3
# File 'lib/annlat/Sundries.rb', line 1

def final?
  instance_methods(false).include? :showHow
end

#gammaObject



253
# File 'lib/annlat/LaRuby.rb', line 253

def gamma() Atom.new('\gamma ') end

#get_type(thing) ⇒ Object



20
21
22
23
24
25
26
27
28
29
30
# File 'lib/annlat/AnnLat.rb', line 20

def get_type(thing)
  if thing.class.ancestors.include? Concept
    :Concept
  elsif thing.class.ancestors.include? Latex
    :Latex
  elsif thing.class.ancestors.include? AnnLat
    :AnnLat
  else
    thing.class.to_s.to_sym
  end
end

#kappaObject



261
# File 'lib/annlat/LaRuby.rb', line 261

def kappa() Atom.new('\kappa ') end

#muObject



262
# File 'lib/annlat/LaRuby.rb', line 262

def mu() Atom.new('\mu ') end

#my_jsonObject



16
17
18
# File 'lib/annlat/AnnLat.rb', line 16

def my_json
  self.to_s
end

#nuObject



263
# File 'lib/annlat/LaRuby.rb', line 263

def nu() Atom.new('\nu ') end

#omegaObject



277
# File 'lib/annlat/LaRuby.rb', line 277

def omega() Atom.new('\omega ') end

#phiObject



273
# File 'lib/annlat/LaRuby.rb', line 273

def phi() Atom.new('\phi ') end

#piObject



265
# File 'lib/annlat/LaRuby.rb', line 265

def pi() Atom.new('\pi ') end

#psiObject



276
# File 'lib/annlat/LaRuby.rb', line 276

def psi() Atom.new('\psi ') end

#rhoObject



267
# File 'lib/annlat/LaRuby.rb', line 267

def rho() Atom.new('\rho ') end

#sigmaObject



269
# File 'lib/annlat/LaRuby.rb', line 269

def sigma() Atom.new('\sigma ') end

#tauObject



271
# File 'lib/annlat/LaRuby.rb', line 271

def tau() Atom.new('\tau ') end

#thetaObject



259
# File 'lib/annlat/LaRuby.rb', line 259

def theta() Atom.new('\theta ') end

#upsilonObject



272
# File 'lib/annlat/LaRuby.rb', line 272

def upsilon() Atom.new('\upsilon ') end

#varepsilonObject



256
# File 'lib/annlat/LaRuby.rb', line 256

def varepsilon() Atom.new('\varepsilon ') end

#varphiObject



274
# File 'lib/annlat/LaRuby.rb', line 274

def varphi() Atom.new('\varphi ') end

#varpiObject



266
# File 'lib/annlat/LaRuby.rb', line 266

def varpi() Atom.new('\varpi ') end

#varrhoObject



268
# File 'lib/annlat/LaRuby.rb', line 268

def varrho() Atom.new('\varrho ') end

#varsigmaObject



270
# File 'lib/annlat/LaRuby.rb', line 270

def varsigma() Atom.new('\varsigma ') end

#varthetaObject



260
# File 'lib/annlat/LaRuby.rb', line 260

def vartheta() Atom.new('\vartheta ') end

#which_types(stuff) ⇒ Object



32
33
34
35
36
37
38
# File 'lib/annlat/AnnLat.rb', line 32

def which_types(stuff)
  subtypes = []
  stuff.each do |stuffoid|
    subtypes.insert(-1, get_type(stuffoid))
  end
  subtypes
end

#xiObject



264
# File 'lib/annlat/LaRuby.rb', line 264

def xi() Atom.new('\xi ') end

#zetaObject



257
# File 'lib/annlat/LaRuby.rb', line 257

def zeta() Atom.new('\zeta ') end