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

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.

Released the Latest Versions of RINEARN Graph and VCSSL - Now Supporting Customizable Tick Positions and Labels!
2024-11-24 - Starting with this update, a new "MANUAL" tick mode is now supported, allowing users to freely specify the positions and labels of ticks on the graph. We'll explain the details and how to use it.

Released Exevalator 2.2: Now Compatible with TypeScript and Usable in Web Browsers
2024-10-22 - The open-source expression evaluation library, Exevalator, has been updated to version 2.2. It now supports TypeScript and can be used for evaluating expressions directly in web browsers. Explains the details.

Behind the Scenes of Creating an Assistant AI (Part 1: Fundamental Knowledge)
2024-10-07 - The first part of a series on how to create an Assistant AI. In this article, we introduce the essential knowledge you need to grasp before building an Assistant AI. What exactly is an LLM-based AI? What is RAG? And more.

Launching an Assistant AI to Support Software Usage!
2024-09-20 - We've launched an Assistant AI that answers questions about how to use RINEARN software and helps with certain tasks. Anyone with a ChatGPT account can use it for free. We'll explain how to use it.

Software Updates: Command Expansion in RINEARN Graph, and English Support in VCSSL
2024-02-05 - We updated our apps. This updates include "Enhancing the Command-Line Features of RINEARN Graph" and "Adding English Support to VCSSL." Dives into each of them!

Inside the Repetitive Execution Speedup Impremented in Vnano Ver.1.1
2024-01-17 - Delves into the update in Vnano 1.1 from a developer's viewpoint, providing detailed insights into the specific improvements made to the internal structure of the script engine.

» 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.