RINEARN
HOMEINFOSOFTTECHAICONTACT
RINEARN > English Top > RINPn > User Guide
[ Prev | Index | Next ]
Japanese English

Appendix - List of Built-in Functions/Variables

RINPn provides several built-in functions and variables -- this page lists the most frequently used ones.

» Ask the AI for help (ChatGPT account required)
- Table of Contents -
  • Built-in Functions
  • Built-in Variables

RINPn comes equipped with a variety of built-in functions and variables. Below is a list of some of the most frequently used ones, provided primarily through Vnano Standard Plugins.

For a comprehensive list and detailed specifications, please refer to the specification documents of Vnano Standard Plugins.

Built-in Functions

rad( degree )

Converts degrees to radians.

Example: rad( 180.0 )

deg( radian )

Converts radians to degrees.

Example: deg( 2.0 * PI )

sin( x )

Calculates the sine of x, where x is in radians.

Example: sin( PI / 2.0 )

cos( x )

Calculates the cosine of x, where x is in radians.

Example: cos( 2.0 * PI )

tan( x )

Calculates the tangent of x, where x is in radians.

Example: tan( PI / 4.0 )

asin( x )

Returns the arc-sine of x in radians.

Example: asin( 1.0 )

acos( x )

Returns the arc-cosine of x in radians.

Example: acos( 1.0 )

atan( x )

Returns the arc-tangent of x in radians.

Example: atan( 1.0 )

sqrt( x )

Calculates the square root of x.

Example: sqrt( 4.0 )

ln( x )

Calculates the natural logarithm (base e) of x.

Example: ln( 10.0 )

log10( x )

Calculates the logarithm (base 10) of x.

Example: log10( 1000.0 )

pow( x, exponent )

Returns x raised to the power of "exponent".

Example: pow( 2.0, 3.0 )

exp( exponent )

Returns e raised to the power of "exponent". The function which returns the value of "e" (napier number) to "exponent"-power.

Example: exp( 1.2 )

abs( x )

Returns the absolute value of x.

Example: abs( -1.23 )

sum( ... )

Calculates the sum of all given arguments

Example: sum( 1.23 ,   4.56 ,   7.89 )

mean( ... )

Calculates the arithmetic mean of all given arguments.

Example: mean( 1.23 ,   4.56 ,   7.89 )

van( ... )

Calculates the variance (denominator n) of given arguments.

Example: van( 1.23 ,   4.56 ,   7.89 )

van1( ... )

Calculates the variance (denominator n-1) of given arguments.

Example: van1( 1.23 ,   4.56 ,   7.89 )

sdn( ... )

Calculates the standard deviation (denominator n) of given arguments.

Example: sdn( 1.23 ,   4.56 ,   7.89 )

sdn1( ... )

Calculates the standard deviation (denominator n-1) of given arguments.

Example: sdn1( 1.23 ,   4.56 ,   7.89 )

length( array, dim )

Returns the length of the specified ("dim"-th) dimension of an array.

Example: length( array, 0 )

output( value )

This function displays the calculated value from scripts. In GUI mode, the value is displayed in the "OUTPUT" text field and will be overwritten if the function is called multiple times. In CUI mode, the value is output to the standard output as a single line each time it is called.

Example: output( 1.23 )

print( value )

This function is designed to display long texts and multiple lines for general purposes. It can display content consisting of any number of values or arrays, separated by tab spaces. In GUI mode, the content is appended to a text area in an independent window without line breaks. In CUI mode, the content is output to the standard output without line breaks.

Example: print( 1.2 , 3.4 , 5.6 )

println( value )

Similar to print, but includes line feedings.

Example: println( 1.2 , 3.4 , 5.6 )

Built-in Variables

PI

Stores the value of π.

Value: 3.141592653589793



Sponsored Link



Japanese English
[ Prev | Index | Next ]
RINEARN > English Top > RINPn > User Guide
  • Introduction - Overview of RINPn and How to Get Started
  • Step 1 - Using RINPn in GUI Mode
  • Step 2 - Using RINPn in CUI Mode (Command-Line Terminal)
  • Step 3 - How to Execute Scripts
  • Step 4 - How to Add Functions/Variables by Scripts (Library Scripts)
  • Step 5 - Implement Functions/Variables in Java™ (Plug-in Development)
  • Step 6 - How to Embed into Other Software
  • Appendix - List of Built-in Functions/Variables
Index of this category
RINEARN > English Top > RINPn > User Guide
[ Prev | Index | Next ]
  • Introduction - Overview of RINPn and How to Get Started
  • Step 1 - Using RINPn in GUI Mode
  • Step 2 - Using RINPn in CUI Mode (Command-Line Terminal)
  • Step 3 - How to Execute Scripts
  • Step 4 - How to Add Functions/Variables by Scripts (Library Scripts)
  • Step 5 - Implement Functions/Variables in Java™ (Plug-in Development)
  • Step 6 - How to Embed into Other Software
  • Appendix - List of Built-in Functions/Variables
News

Exevalator v2.3 Released — Now Usable from Python
2025-11-04 - We've released Exevalator v2.3. Starting with this version, you can now use it from Python! With growing demand around AI tool development in mind, we share the details here.

Exevalator Updated — Easy Japanese Localization for Error Messages
2025-10-31 - Exevalator 2.2.2 is out. You can now localize error messages to Japanese with a simple copy-and-paste, and we've included several bug fixes and minor parser adjustments.

Inside RINPn Online: Architecture Overview
2025-10-22 - An inside look at the architecture of the recently launched online version of the RINPn scientific calculator. It's open source, so you can freely modify and reuse it to build your own web calculator (maybe!).

Meet RINPn Online: Use the Scientific Calculator Anywhere, Instantly
2025-10-21 - RINPn, the free scientific calculator, now has an online version you can use instantly in your browser — on both PC and smartphones. Read the announcement for details.

The VCSSL Support AI is Here! — Requires a ChatGPT Plus Account for Practical Performance
2025-08-19 - A new AI assistant for the VCSSL programming language is here to answer your questions and help with coding. This article explains how to use it and showcases plenty of real Q&A and generated code examples.

English Documentation for Our Software and VCSSL Is Now Nearly Complete
2025-06-30 - We're happy to announce that the large-scale expansion of our English documentation with the support of AI — a project that began two years ago — has now reached its initial target milestone.

VCSSL 3.4.52 Released: Enhanced Integration with External Programs and More
2025-05-25 - This update introduces enhancements to the external program integration features (e.g., for running C-language executables). Several other improvements and fixes are also included. Details inside.

Released: Latest Version of VCSSL with Fixes for Behavioral Changes on Java 24
2025-04-22 - VCSSL 3.4.50 released with a fix for a subtle behavioral change in absolute path resolution on network drives, introduced in Java 24. Details inside.

» View More Articles
See Our News
on Twitter !
RINEARN Official Website | Top Page | Privacy Policy |
This website uses cookies for serving ads and analyzing traffic data. By continuing to use this website, you agree to our privacy policy.
This website is managed by RINEARN. All rights to the contents of this website are owned by RINEARN and its owner.
Copyright(C) RINEARN 2009 - 2025 All rights reserved.