Tutorial by Examples: all

Detailed instructions on getting sybase set up or installed.
import sympy as sy x, y = sy.symbols("x y") # nsolve needs the (in this case: two) equations, the names of the variables # (x,y) we try to evaluate solutions for, and an initial guess (1,1) for the # solution print sy.nsolve((x**3+sy.exp(y)-4,x+3*y),(x,y),(1,1)) The result s...
Detailed instructions on getting clion set up or installed.
Homebrew calls itself 'the missing package manager for macOS'. It can be used to build and install applications and libraries. Once installed, you can use the brew command to install PostgreSQL and it's dependencies as follows: brew update brew install postgresql Homebrew generally installs the...
To use auto layout we need to enable a boolean flag in storyboard. Its shown in the below image. After this we can use auto layout in our storyboard. There is another option if we want to use size classes or not. Size class is also a helpful option in auto layout which helps us to design for differe...
Detailed instructions on getting google-cloud-platform set up or installed.
Detailed instructions on getting scenekit set up or installed.
Recommended way to install Slim framework is by using composer. Create an empty directory This directory will contain all required files for our Slim application to run. We call this directory root directory so we can address all other application files and directories relative to root directo...
To view all elements in the index change the print options that “sparsifies” the display of the MultiIndex. pd.set_option('display.multi_sparse', False) df.groupby(['A','B']).mean() # Output: # C # A B # a 1 107 # a 2 102 # a 3 115 # b 5 92 # b 8 98 # c 2 87 # c 4 104 #...
Here we will create collection for losses of Neural Network's computational graph. First create a computational graph like so: with tf.variable_scope("Layer"): W = tf.get_variable("weights", [m, k], initializer=tf.zeros_initializer([m, k], dtype=tf.float32)) ...
Detailed instructions on getting logstash set up or installed.
AutomationMetadataProvider automationMetadataProvider = Assert.ResultNotNull(Factory.CreateObject("automation/metadataProvider", true) as AutomationMetadataProvider); var context = AutomationManager.Provider.GetAutomationContext(ID.Parse(contact.ContactId)); co...
PowerBI reports can be created using PowerBI Desktop application. Download link: https://powerbi.microsoft.com/en-us/desktop/ Requirements (as of 5 April 2017): Windows 7 / Windows Server 2008 R2, or later .NET 4.5 Internet Explorer 9 or later Memory (RAM): At least 1 GB available, 1.5 GB...
Detailed instructions on getting jax-rs set up or installed.
primary requirement is that java should be installed in your system.there is two option for setting the jersey in the Eclipse IDE is first manually download the jersey jars from this link.and the in the project->add external jars you can add these libraries there.[https://jersey.java.net/download...
void parallelAddition (unsigned N, const double *A, const double *B, double *C) { unsigned i; #pragma omp parallel for shared (A,B,C,N) private(i) schedule(static) for (i = 0; i < N; ++i) { C[i] = A[i] + B[i]; } } This example adds two vector (A and B into...
#include <omp.h> #include <stdio.h> int main (void) { int t = (0 == 0); // true value int f = (1 == 0); // false value #pragma omp parallel if (f) { printf ("FALSE: I am thread %d\n", omp_get_thread_num()); } #pragma omp parallel if (t) { printf (&quo...
#include <omp.h> #include <unistd.h> #include <iostream> #include <list> static void processElement (unsigned n) { // Tell who am I. The #pragma omp critical ensures that // only one thread sends data to std::cout #pragma omp critical std::cout <...
How to interact with the BIOS The Basic Input/Output System, or BIOS, is what controls the computer before any operating system runs. To access services provided by the BIOS, assembly code uses interrupts. An interrupt takes the form of int <interrupt> ; interrupt must be a literal number, n...
Time complexity is a property of Problems someone might want to solve computationally, Algorithms designed to solve such problems and Programs implementing such algorithms. An abstract concept requires no installation or setup. Simply take any problem, algorithm, or code and ask "How lo...

Page 73 of 113