2990件ヒット
[1-100件を表示]
(0.219秒)
別のキーワード
ライブラリ
- ビルトイン (135)
- bigdecimal (72)
- csv (102)
- digest (72)
- erb (24)
- fiber (8)
-
fiddle
/ import (12) - json (156)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
/ add / exception (12) -
json
/ add / range (12) -
json
/ add / rational (12) -
json
/ add / regexp (12) -
json
/ add / struct (12) -
json
/ add / time (12) - logger (180)
- matrix (545)
- mkmf (12)
- monitor (2)
-
net
/ http (156) - openssl (24)
- optparse (300)
- pathname (75)
-
rexml
/ document (252) -
rexml
/ streamlistener (12) -
rubygems
/ requirement (12) - set (9)
- stringio (304)
- strscan (312)
- tsort (58)
- uri (36)
クラス
- Array (33)
- BigDecimal (84)
- CSV (48)
-
CSV
:: Row (6) -
CSV
:: Table (24) - Complex (12)
- Date (12)
- DateTime (12)
-
Digest
:: Base (72) - Dir (12)
- ERB (24)
- Exception (24)
- Fiber (12)
-
Gem
:: Requirement (12) -
JSON
:: State (48) - Logger (180)
- Matrix (521)
-
Matrix
:: LUPDecomposition (12) - Method (12)
- Monitor (2)
-
Net
:: HTTPGenericRequest (36) -
Net
:: HTTPResponse (24) -
OpenSSL
:: BN (24) - OptionParser (252)
- Pathname (75)
-
REXML
:: Attribute (12) -
REXML
:: Attributes (72) -
REXML
:: CData (24) -
REXML
:: DocType (24) -
REXML
:: Element (96) -
REXML
:: Text (24) - Range (26)
- Rational (12)
- Regexp (12)
- Set (9)
- String (36)
- StringIO (304)
- StringScanner (312)
- Struct (12)
- Time (12)
-
URI
:: MailTo (36) - UnboundMethod (12)
- Vector (12)
モジュール
- Enumerable (24)
-
Fiddle
:: Importer (12) -
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (12)
-
Net
:: HTTPHeader (96) -
OptionParser
:: Arguable (48) -
REXML
:: StreamListener (12) - TSort (58)
キーワード
- * (12)
- << (12)
- == (12)
- [] (72)
- []= (19)
-
_ dump (12) - accept (12)
- add (24)
-
add
_ attribute (24) -
add
_ attributes (12) -
add
_ element (12) - adjugate (12)
- antisymmetric? (7)
- attribute (12)
-
attribute
_ of (12) -
backtrace
_ locations (12) -
basic
_ auth (12) - binread (12)
- body (12)
-
body
_ stream (12) -
body
_ stream= (12) - bytes (14)
- charpos (12)
- check (12)
-
check
_ until (12) - children (12)
- clear (12)
- coerce (12)
-
cofactor
_ expansion (12) -
col
_ sep (12) - collect (24)
- collect! (14)
- column (24)
- component (12)
- concat (12)
-
create
_ makefile (12) - crypt (12)
-
datetime
_ format (12) - deconstruct (3)
-
deconstruct
_ keys (3) -
default
_ argv (12) - delete (24)
-
delete
_ all (12) -
delete
_ attribute (12) - det (12)
- determinant (12)
- digest (12)
- digest! (12)
- each (48)
-
each
_ byte (24) -
each
_ child (24) -
each
_ element _ with _ attribute (12) -
each
_ entry (15) -
each
_ line (24) -
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) -
each
_ with _ index (24) - eigen (12)
- eigensystem (12)
- element (12)
- entitydecl (12)
- entries (31)
-
entrywise
_ product (8) - environment (12)
- error (24)
- exist? (12)
- fatal (24)
- fetch (36)
-
find
_ index (36) -
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ fields (12) - getbyte (12)
- getc (12)
- gets (12)
-
hadamard
_ product (8) - headers (24)
- hexdigest (12)
- hexdigest! (12)
- hstack (12)
- indent= (12)
- index (36)
- info (24)
- inspect (12)
-
laplace
_ expansion (12) - lines (14)
- log (24)
- lup (12)
-
lup
_ decomposition (12) - map (24)
- map! (14)
- match? (12)
- minor (24)
- namespace (12)
-
object
_ nl= (12) - on (36)
- order (48)
- order! (48)
- pack (21)
- parse (24)
- parse! (24)
-
parse
_ csv (12) - peek (12)
- peep (12)
- permute (24)
- permute! (24)
- pointer (12)
- pointer= (12)
- pos (12)
- pos= (24)
-
pretty
_ print (12) -
prime
_ fasttest? (12) - print (24)
- printf (12)
-
program
_ name (12) -
proxy
_ basic _ auth (12) - puts (12)
-
quote
_ char (12) - read (12)
-
read
_ body (24) - readbyte (12)
- readchar (12)
- readline (12)
- readlines (12)
- regular? (12)
- reopen (24)
- reset (12)
- result (12)
- row (24)
-
row
_ sep (12) - scan (12)
-
scan
_ full (12) -
scan
_ until (12) -
search
_ full (12) -
skew
_ symmetric? (7) - skip (12)
-
skip
_ until (12) - solve (12)
-
source
_ location (24) - space= (12)
-
space
_ before= (12) - split (12)
- src (12)
- string= (12)
-
strongly
_ connected _ components (12) - struct (12)
- subtract (9)
-
summary
_ indent (12) - terminate (12)
- text (12)
-
to
_ a (19) -
to
_ csv (12) -
to
_ json (228) -
to
_ mailtext (12) -
to
_ rfc822text (12) -
to
_ s (72) - trace (12)
- transfer (12)
- truncate (36)
- ungetc (12)
- unknown (24)
- unpack (12)
- unscan (12)
- value (24)
- vstack (12)
-
wait
_ for _ cond (2) - warn (24)
- write (24)
検索結果
先頭5件
-
Matrix
# tr -> Integer | Float | Rational | Complex (36426.0) -
トレース (trace) を返します。
...トレース (trace) を返します。
行列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が... -
StringScanner
# string=(str) (27531.0) -
スキャン対象の文字列を str に変更して、マッチ記録を捨てます。
...str に変更して、マッチ記録を捨てます。
@param str スキャン対象の文字列を str に変更して、マッチ記録を捨てます。
@return str を返します。
//emlist[例][ruby]{
require 'strscan'
str = '0123'
s = StringScanner.new('test string')
s.string = str... -
Matrix
# antisymmetric? -> bool (27325.0) -
行列が反対称行列 (交代行列、歪〔わい〕対称行列とも) ならば true を返します。
... true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します
//emlist[][ruby]{
require 'matrix'
Matrix[[0, -2, Complex(1, 3)], [2, 0, 5], [-Complex(1, 3), -5, 0]].antisymmetric? # => true
Matrix.empty.antisymmetric? # => true
Mat......rix[[1, 2, 3], [4, 5, 6], [7, 8, 9]].antisymmetric? # => false
# 対角要素が違う
Matrix[[1, -2, 3], [2, 0, 6], [-3, -6, 0]].antisymmetric? # => false
# 符号が違う
Matrix[[0, 2, -3], [2, 0, 6], [-3, 6, 0]].antisymmetric? # => false
//}... -
Matrix
# skew _ symmetric? -> bool (27325.0) -
行列が反対称行列 (交代行列、歪〔わい〕対称行列とも) ならば true を返します。
... true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します
//emlist[][ruby]{
require 'matrix'
Matrix[[0, -2, Complex(1, 3)], [2, 0, 5], [-Complex(1, 3), -5, 0]].antisymmetric? # => true
Matrix.empty.antisymmetric? # => true
Mat......rix[[1, 2, 3], [4, 5, 6], [7, 8, 9]].antisymmetric? # => false
# 対角要素が違う
Matrix[[1, -2, 3], [2, 0, 6], [-3, -6, 0]].antisymmetric? # => false
# 符号が違う
Matrix[[0, 2, -3], [2, 0, 6], [-3, 6, 0]].antisymmetric? # => false
//}... -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (24531.0) -
name という名前の属性を取得します。
...
@param name 属性名(文字列)
@see REXML::Attributes#[]
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("....../root/a").first
a.attributes.get_attribute("att") # => att='<'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (24531.0) -
namespace と name で特定される属性を返します。
...prefix を含まない属性名を
指定します。
指定された属性が存在しない場合は nil を返します。
XML プロセッサが prefix を置き換えてしまった場合でも、このメソッドを
使うことで属性を正しく指定することができます。
@par......URI, 文字列)
@param name 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/a").fir......st
a.attributes.get_attribute_ns("", "att") # => att='<'
a.attributes.get_attribute_ns("http://example.org/foo", "att") # => foo:att='1'
a.attributes.get_attribute_ns("http://example.org/baz", "att") # => nil
a.attributes.get_attribute_ns("http://example.org/foo", "attt") # => nil
//}... -
Matrix
# entrywise _ product(m) -> Matrix (24525.0) -
アダマール積(要素ごとの積)を返します。
...ダマール積(要素ごとの積)を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行や列の要素数が一致しない時に発生します。
//emlist[例][ruby]{
require 'matrix'
Matrix[[1,2], [3,4]].hadamard_product(Matrix[[1,2], [3,2]]) # => Matrix[[1, 4], [9, 8]]
//}... -
Matrix
# trace -> Integer | Float | Rational | Complex (24426.0) -
トレース (trace) を返します。
...トレース (trace) を返します。
行列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が... -
StringIO
# truncate(len) -> Integer (24343.0) -
自身のサイズが len になるように、自身を切り詰め、もしくは拡大します。 拡大した場合は、その部分を 0 で埋めます。 len を返します。
...。
@param len 変更したいサイズを整数で指定します。
@raise IOError 自身が書き込み可能でない時に発生します。
@raise Errno::EINVAL len がマイナスの時に発生します。
//emlist[例][ruby]{
require "stringio"
a = StringIO.new("hoge", 'r+')
a.truncate(......2)
a.string #=> "ho"
a.truncate(5)
a.string #=> "ho\000\000\000"
//}... -
REXML
:: Element # delete _ attribute(key) -> REXML :: Attribute | nil (21725.0) -
要素から key という属性名の属性を削除します。
...。
@param key 削除する要素(文字列(属性名) or REXML::Attributeオブジェクト)
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("E")
e.add_attribute("x", "foo"); e # => <E x='foo'/>
e.add_attribute("y:x", "bar"); e # => <E x='foo' y:x='bar'/>
e.delete_attribute("x")......; e # => <E y:x='bar'/>
//}...