Top "Subtraction" questions

Subtraction is a mathematical operation that represents the removal of an object from a collection.

How to subtract X days from a date using Java calendar?

Anyone know a simple way using Java calendar to subtract X days from a date? I have not been able …

java calendar subtraction
Removing elements from an array in C

I just have a simple question about arrays in C What's the best way to remove elements from an array …

c arrays subtraction
Subtraction between two sql queries

I have 2 queries in MS SQL that return a number of results using the COUNT function. I can run the …

sql sql-server tsql subtraction
Subtract n hours from a DateTime in Ruby

I have a Ruby DateTime which gets filled from a form. Additionally I have n hours from the form as …

ruby datetime subtraction hour
How to subtract two strings?

I have a long string, which is basically a list like str="lamp, bag, mirror," (and other items) I was …

python string addition subtraction
How to subtract two lists in python

I can't figure out how to make a function in python that can calculate this: List1=[3,5,6] List2=[3,7,2] and the result …

python list zip subtraction
PHP subtract 1 month from date formatted with date ('m-Y')

I'm trying to subtract 1 month from a date. $today = date('m-Y'); This gives: 08-2016 How can I subtract a month …

php date subtraction
Algorithm to add or subtract days from a date?

I'm trying to write a Date class in an attempt to learn C++. I'm trying to find an algorithm to …

c++ algorithm add days subtraction
How to subtract a vector from each row of a matrix?

Possible Duplicate: How can I divide each row of a matrix by a fixed row? I'm looking for an elegant …

matlab vector matrix subtraction
Subtracting one row of data from another in SQL

I've been stumped with some SQL where I've got several rows of data, and I want to subtract a row …

sql mysql join subtraction