See the manual entries for the library functions for details on what they do.
Floor tcl example.
For example the script contained in rcframe1 tcl can be run by typing source rcframe1 tcl at the opensees prompt.
The first 4k tcl range is the 4 series s401 s403 s405 s421 s423 s425.
Tcl supports the following mathematical functions in expressions all of which work solely with floating point numbers unless otherwise noted.
We encourage users of opensees to share their input scripts and utility procedures with others.
06 15 2014 1402808400 input txt main tcl input txt main tcl this is the file you can use to provide input to your program and later on open it inside your program to process the input.
There are three hdmi inputs and a usb 2 0 connection digital optical output the addition of a headphone jack and tcl s easy to use remote.
The examples are 1 simple truss structure 2 reinforced concrete portal frame 3 two story multi bay reinforced concrete frame and 4 a three dimensional frame.
An example of ceil and floor function would be finding the least and greatest value of 2 47.
There s a digital tv tuner too.
In the examples tcl scripts are used to create a model analysis and output specification.
Tcl supports the following mathematical functions in expressions.
In addition to these predefined functions applications may define additional functions by using proc or any other method such as interp alias or tcl createobjcommand to define new commands in the tcl mathfunc namespace.
The following files are scripts and procedures to be used with the opensees tcl interpreter.
Since the given number is positive the answer will retain the positive attribute or the negative one if the given number is negative.
Abs cosh log sqrt acos double log10 srand asin exp pow tan atan floor rand tanh atan2 fmod round wide ceil hypot sin cos int sinh.
Abs returns the absolute value of arg.
The tcl 32s305 tcl 32s327 tcl 40s325 and tcl 49s325 are some of the best sellers in this range.
The latter interface is not recommended for new.
Functional composition had to be rewritten to tcl s polish notation haskell s foo 1 o bar 2 o grill where o is the composition operator would in tcl look like o foo 1 bar 2 grill as the example shows additional arguments can be specified.
If the floor function is used the result will be 2 while the answer will be 3 if the ceil function is used instead.
In addition an obsolete interface named tcl createmathfunc is available to extensions that are written in c.
03 09 16 the date is.
Only the last argument is passed through the generated function nest.
Acos cos hypot sinh asin cosh log sqrt atan exp log10 tan atan2 floor pow tanh ceil fmod sin each of these functions invokes the math library function of the same name.