## numpy.meshgrid() in Python

numpy.meshgrid() in Python The meshgrid() function of Python numpy class returns the coordinate matrices from coordinate vectors. Syntax

Parameter The numpy.meshgrid() function consists of four parameters which are as follow: x1, x2,…, xn: This parameter signifies 1-D arrays representing the …

## numpy.geomspace() in Python

numpy.geomspace() in Python The geomspace() function of Python numpy class returns the numbers spaced equally on a log scale (a geometric progression). This method is similar to numpy.logspace() but with endpoints specified directly. Syntax

Parameter start: This parameter represents the starting number …

## numpy.logspace() in Python

numpy.logspace() in Python The logspace() function of Python numpy class returns the equal number of spaces over every interval on a log scale. Syntax

Parameter start: It represents the start of the interval range. stop: This parameter represents the …

## How to Convert Octal to Decimal in Java

How to Convert Octal to Decimal in Java There are two methods to convert Octal to Decimal: Using parseInt() method Using user-defined logic Using Integer.parseInt() method The Integer.parseInt() method is a static method of Integer wrapper class. It converts String …

## How to Convert Decimal to Hexadecimal in Java

How to Convert Decimal to Hexadecimal in Java The hexadecimal number uses 16 values to represent a number. Numbers from 0 to 9 represented by digits and the numbers from 10 to 15 are represented by alphabets from A to …

## How to Convert Decimal to Octal in Java

How to Convert Decimal to Octal in Java There are two methods to convert Decimal to Octal: Using toOcatlString() method Using user-defined logic Using Integer.toOctalString() method The toOctalString() is astaticmethod of the Integer wrapper class that converts decimal to an …

## How to Convert Hexadecimal to Decimal in Java

How to Convert Hexadecimal to Decimal in Java There are two methods to convert Hexadecimal to Decimal: Using parseInt() method Using user-defined logic Using Integer.parseInt() method It is a static method of theInteger wrapper class. The Integer.parseInt() method converts string …

## numpy.linspace() in Python

numpy.linspace() in Python The linspace() function of Python numpy class returns the number spaces equally over the given interval i.e.  [start, stop]. Syntax

Parameter start: It is an optional parameter which represents the start of the interval range. By default, the …

## numpy.arrange() in Python

Python numpy.arrange() The arrange() function of Python numpy class returns an array with equally spaced elements as per the interval where the interval mentioned is half opened, i.e. [Start, Stop). Syntax

Parameter start :It is an optional parameter which …

Python numpy.loadtxt() The loadtxt() function of Python numpy class loads the data from a text fileand provides a fast reader for simple text files. Syntax

Parameter fname : This parameter represents a file, filename, or generator to read. If the …

## PHP For loop with Example

For loop in PHP : The for loop is the most potent loop, it combines the abilities to set up variables as we enter the loop, test for conditions while iterating loops, and it modifies variables after each iteration. Example: …

## Numpy.copy() in Python with Example

Numpy.copy() in Python The copy() function of Python numpy class returns an array copy for the given object. Syntax

Parameter a: It represent the array_like input data. order :  This parameter controls the memory layout of the copy. It is …

## Numpy.asmatrix() in Python with Example

Numpy.asmatrix() in Python The asmatrix() function returns the specified input as a matrix. It does not make a copy if the input is already a matrix or an ndarray. Syntax

Parameter data  :This parameter represents thearray-like input data dtype …

## numpy.ascontiguousarray() in Python with Example

numpy.ascontiguousarray() in Python The ascontiguousarray() returns a contiguous array (ndim>= 1) in memory (C order). Syntax

Parameter arr : This parameter includes the input data, in any form that can be converted to an array. This includes lists, tuples, lists …

## numpy.asanyarray() in Python with Example

numpy.asanyarray() in Python The asanyarray() function of Python numpy class converts the input to an ndarray, but pass ndarray subclasses through. Syntax

Parameter arr : This parameter includes the input data, in any form that can be converted to an …

## numpy.fromstring () in Python

numpy.fromstring () in Python The fromstring() function of Python numpy class creates a new 1-D array initialized from raw binary or text data in a string. Syntax

Parameter The numpy.fromstring() method consists of three parameters, which are as follows: …

## numpy.fromiter() in Python

numpy.fromiter() in Python The fromiter() function of Python numpy class creates a ndarray by using an iterable object. It returns a one-dimensional ndarray object. Syntax

Parameter The numpy.frombuffer() method consists of three parameters, which are as follows: Iterable: This …

## numpy.frombuffer() in Python

numpy.frombuffer() in Python The frombuffer()  function of Python numpy class creates an array by using the given buffer. Syntax

Parameter The numpy.frombuffer() method consists of four parameters, which are as follows: buffer: This parameter represents an object that depicts …

## numpy.asarray() in Python

numpy.asarray() in Python The numpy.asarray()function is used to convert the input to an array. Input includes lists, lists of tuples, tuples, tuples of tuples,etc,. Syntax

Parameter arr : This parameter includes theinput data, in any form that can be converted …

## numpy.full_like() in Python

numpy.full_like() in Python The full_like() method of Python numpy class returns a full array with the same shape and type as a given array. Syntax

Parameter shape :This parameter represents the number of rowsorder :The order parameter can be …