MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Boolean Type


All,
	I would like to define a function wich would work (in different ways) for both
real and boolean input argruments. How should I best implement a function which
would implement the following intent?

func[x_Real]:= some function involving a real varialble x

func[x_Boolean]:= some function involving a boolean variable x

Thanks for any help.

Al Myers



  • Prev by Date: Projections
  • Next by Date: zero eigenvalues and corresponding eigenvectors of a square and a rectangular matrice
  • Previous by thread: Re: Projections
  • Next by thread: Re: Boolean Type