Physics Forums » Programming and Computer Science
123 FOLLOWERS
Join the expert discussion on computer science and programming here. Get insights on topics like computer algorithms, data structures, artificial intelligence, systems, databases, communications, and security. Physics Forums is a community for students, scientists, educators, or hobbyists to learn and discuss science.
Physics Forums » Programming and Computer Science
4d ago
Hi, trying to write a user-defined function in SSMS Sql Server .that takes two Real numbers and outputs the square root of the
sum of their squares:
Line 152
CREATE FUNCTION dbo.Distance(@a Real, @b Real)
RETURNS Real
AS
BEGIN
SQRT(@a * @a + @b * @b)
END ;
GO
I re-checked the syntax for...
Read more ..read more
Physics Forums » Programming and Computer Science
1w ago
Hi everyone; hope you are well. I have a small question: As far as I have searched, for example we can make integer variable defined outside the for loop private for multiple threads, but is it also possible to apply this situation for an integer pointer defined outside the for loop? I mean if a...
Read more ..read more
Physics Forums » Programming and Computer Science
1w ago
I need to pass the value of a variable from one FORTRAN program to another. The main program carries out calculations with some numerical inputs a,b , I want to enter numerical values of variables in another program like
real*8 a, b
common/variables/a,b
a = 1.
b = 2.
How...
Read more ..read more
Physics Forums » Programming and Computer Science
2w ago
This is the component for Authors to Login to the Web Application
JavaScript:
import { Button, CircularProgress, Fade, Link, TextField, Typography } from '@material-ui/core';
import { ThemeProvider, createTheme, makeStyles } from '@material-ui/core/styles';
import axios from 'axios';
import React, {...
Read more ..read more
Physics Forums » Programming and Computer Science
3w ago
I am doing a project to build a Long Short Term Memory algorithm from scratch. LSTMs are capable of retaining memory of the past inputs and carrying them for future operations thanks to Recurring Neural Networks to process a series of inputs such as sounds and text.
One possible way I can think...
Read more ..read more
Physics Forums » Programming and Computer Science
3w ago
I recently finished a website and I'd like to share it in case it would be useful, as well as to get feedback. The URL:
equationvisuals.com
The website uses a basic computer algebra system (CAS) I built to solve systems of equations and show its steps. These equations can then be linked...
Read more ..read more
Physics Forums » Programming and Computer Science
1M ago
I have a file consisting of a bunch of words, with one word in each line. For example, consider this webpage, or this one, but instead of being online, there is a .txt file is locally on my PC. My aim is to pick a word at random from this list that starts with a specific given...
Read more ..read more
Physics Forums » Programming and Computer Science
1M ago
I have a class Stack with a header file Stack.h which uses up another class with a header file Activity.h
I have a third class ActivityManager which uses up both the Stack and the Activity class.If I run the program and add in both Activity.h and Stack.h to the #include list I get a compilation...
Read more ..read more
Physics Forums » Programming and Computer Science
1M ago
Hello, does anyone know how to retrieve the Hessian at the minimum when using method = ‘trust-constr ..read more
Physics Forums » Programming and Computer Science
1M ago
Hi.I am building up a site for Norway.So far I have this code:
HTML:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Norway's Home Page</title>
</head>
<body>
<p >
Norway (Bokmål: Norge, Nynorsk: Noreg), formally the Kingdom of...
Read more ..read more