std::pow<div class="t-tr-text">ï¼ã¹ã¿ã³ãã¼ã:: valarrayã¯ï¼<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">(std::valarray)</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div>
æä¾: cppreference.com
![]() |
ãã®ãã¼ã¸ã¯ãGoogle 翻訳ã使ã£ã¦è±èªçããæ©æ¢°ç¿»è¨³ããã¾ããã
翻訳ã«ã¯èª¤ããå¥å¦ãªè¨ãåããããããããã¾ãããæç« ã®ä¸ã«ãã¤ã³ã¿ãããã¨ãå ã®æç« ãè¦ãã¾ãã誤ããä¿®æ£ãã¦ç¿»è¨³ãæ¹åããæå©ãããã¦ãã ããã翻訳ã«ã¤ãã¦ã®èª¬æã¯ããããã¯ãªãã¯ãã¦ãã ããã ãã®ãã¼ã¸ã®è±èªçãè¦ãã«ã¯ãããã¯ãªãã¯ãã¦ãã ãã |
ããã <valarray> ã§å®ç¾©
|
||
template< class T > valarray<T> pow( const valarray<T>& base, const valarray<T>& exp ); |
(1) | |
template< class T > valarray<T> pow( const valarray<T>& base, const T& vexp ); |
(2) | |
template< class T > valarray<T> pow( const T& vbase, const valarray<T>& exp ); |
(3) | |
é»åã®å¤ãçºçãã.
Original:
Raises a value to a power.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
1)
æ°å¤é
åã®åè¦ç´ ã®å¤ãè¨ç®
base
æ°å¤é
åexp
ãã対å¿ããè¦ç´ ã«ãã£ã¦æå®ãããç´¯ä¹ãã.Original:
Computes the values of each element in the numeric array
base
raised to the power specified by the corresponding element from the numeric array exp
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
base.size() != exp.size()å ´åã®åä½ã¯æªå®ç¾©ã§ã.
Original:
The behavior is undefined if base.size() != exp.size().
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
2)
黿º
base
ã«å¼ãä¸ãæ°å¤é
åvexp
å
ã®åè¦ç´ ã®å¤ãè¨ç®.Original:
Computes the values of each element in the numeric array
base
raised to the power vexp
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
3)
æ°å¤é
å
vbase
ã®è¦ç´ ã«ãã£ã¦å®ç¾©ãããç´¯ä¹ãexp
ã®å¤ãè¨ç®.Original:
Computes the values of
vbase
raised to the power defined by the elements in the numeric array exp
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
ç®æ¬¡ |
[ç·¨é] ãã©ã¡ã¼ã¿
base | - | ãã¼ã¹ã®å¤ãå«ãæ°å¤é
å
Original: numeric array containing the values of the base The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
exp | - | ææ°ã®å¤ãå«ãæ°å¤é
å
Original: numeric array containing the values of the exponent The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
vbase | - | ãã¼ã¹ãå®ç¾©ããå¤
Original: a value defining the base The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
vexp | - | ææ°ãå®ç¾©ããå¤
Original: a value defining the exponent The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[ç·¨é] å¤ãè¿ãã¾ã
ã¹ãä¹ã®çµæãå«ãæ°å¤é
å.
Original:
A numeric array containing the results of exponentiation.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[ç·¨é] ãã¼ã
修飾ããã¦ããªãæ©è½ï¼powï¼è¨ç®ãå®è¡ããããã«ä½¿ç¨ããã¾ãããã®ãããªæ©è½ãå©ç¨ã§ããªãå ´åãstd::powã¯ã弿°ä¾åã®ç
§åã®ããã«ä½¿ç¨ãã.
Original:
Unqualified function (pow) is used to perform the computation. If such function is not available, std::pow is used due to argument dependent lookup.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
颿°ã¯std::valarrayããå¥ã®æ»ãå¤åã§å®è£
ãããã¨ãã§ãã¾ãããã®å ´åã交æåã¯ã次ã®ããããã£ãããã¾ã
Original:
The function can be implemented with the return type different from std::valarray. In this case, the replacement type has the following properties:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
- constã®ãã¹ã¦std::valarrayã¡ã³ã颿°ãç¨æããã¦ãã¾ã.Original:All const member functions of std::valarray are provided.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - std::valarrayãstd::slice_arrayãstd::gslice_arrayãstd::mask_arrayã¨std::indirect_array交æã¿ã¤ãããæ§ç¯ãããã¨ãã§ãã¾ã.Original:std::valarray, std::slice_array, std::gslice_array, std::mask_array and std::indirect_array can be constructed from the replacement type.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - ã¿ã¤ãconst std::valarray&ã®å¼æ°ãåãä»ããæ©è½ã¯ããã¹ã¦ã®äº¤æã¿ã¤ããåãå ¥ããå¿ è¦ãããã¾ã.Original:All functions accepting a arguments of type const std::valarray& should also accept the replacement type.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - ã¿ã¤ãconst std::valarray&ã®2ã¤ã®å¼æ°ãåãå ¥ãããã¹ã¦ã®æ©è½ãconst std::valarray&ã¨äº¤æã¿ã¤ãã®ãã¹ã¦ã®çµã¿åãããåãå ¥ããã¹ã.Original:All functions accepting two arguments of type const std::valarray& should accept every combination of const std::valarray& and the replacement type.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
-
[ç·¨é] ä¾
This section is incomplete Reason: no example |
[ç·¨é] åç §
x ã® y ä¹ (xy) ãè¨ç®ãã¾ã (颿°) |