Results for: "remove_const"

No documentation available
No documentation available
No documentation available

Re-composes a prime factorization and returns the product.

Parameters

pd

Array of pairs of integers. The each internal pair consists of a prime number – a prime factor – and a natural number – an exponent.

Example

For [[p_1, e_1], [p_2, e_2], ...., [p_n, e_n]], it returns:

p_1**e_1 * p_2**e_2 * .... * p_n**e_n.

Prime.int_from_prime_division([[2,2], [3,1]])  #=> 12

The index to insert activated gem paths into the $LOAD_PATH. The activated gem’s paths are inserted before site lib directory by default.

No documentation available
No documentation available

bn.mod_add(bn1, bn2) -> aBN

bn.mod_sub(bn1, bn2) -> aBN

bn.mod_mul(bn1, bn2) -> aBN

bn.mod_sqr(bn2) => aBN

bn.mod_exp(bn1, bn2) -> aBN

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

If stat is readable by others, returns an integer representing the file permission bits of stat. Returns nil otherwise. The meaning of the bits is platform dependent; on Unix systems, see stat(2).

m = File.stat("/etc/passwd").world_readable?  #=> 420
sprintf("%o", m)                              #=> "644"

Returns true if stat is writable by the real user id of this process.

File.stat("testfile").writable_real?   #=> true

Same as executable?, but tests using the real owner of the process.

No documentation available

Returns a DRb::DRbSSLSocket instance as a server-side connection, with the SSL connected. This is called from DRb::start_service or while connecting to a remote object:

DRb.start_service 'drbssl://localhost:0', front, config

uri is the URI we are connected to, 'drbssl://localhost:0' above, config is our configuration. Either a Hash or DRb::DRbSSLSocket::SSLConfig

No documentation available

Returns the eigenvector matrix V

No documentation available
Search took: 10ms  ·  Total Results: 3750