6.7.1 Top new questions this week

6.7.1.1 How to clear all definitions matching f[1, ...] but not f[2, ...]?
6.7.1.2 Rescaling data to make a "continuous" function
6.7.1.3 Why does Mathematica ignore 1 as an exponent? Or as a coefficient?
6.7.1.4 How to add 'border' to Voronoi diagram
6.7.1.5 Contracting indices in lists
6.7.1.6 How to extract all possible sub-products which match specific pattern?
6.7.1.7 Raytracing using Regions & NSolve
6.7.1.1 How to clear all definitions matching f[1, ...] but not f[2, ...]?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=222002

I would like to clear all definitions of the form f[1,...] in such a way that f[2,...] remain unaffected. 
 
The two methods I know to clear variables don't seem to apply to this situation: 
 
 
Pattern  ... 
[pattern-matching] [variable-definitions] [clear]
 
asked by WillG https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=59634 10 votes
answered by Simon Woods https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=862 15 votes
6.7.1.2 Rescaling data to make a "continuous" function

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=222252

I have acquired many sets of data, which all represent a single function, but which are randomly rescaled by a constant (due to the measurement specifics). I'm looking to effectively stitch them  ... 
[interpolation] [data]
 
asked by ChaSta https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=48457 9 votes
answered by aooiiii https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=68990 7 votes
6.7.1.3 Why does Mathematica ignore 1 as an exponent? Or as a coefficient?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=221934

Two different examples of same problem: 
 
In: Cases[{f^2, g^3, k^p, h}, x_^n_ -> n] 
 
Out: {2,3,p}     # The result misses the exponen of h, '1' 
 
The same problem in a different context: 
 
In:  ... 
[programming] [pattern-matching]
 
asked by MaxB https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=66077 8 votes
answered by Nasser https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=70 11 votes
6.7.1.4 How to add 'border' to Voronoi diagram

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=221984

Suppose I have a set of points pts, from which I generate a Voronoi diagram VD: 
 
pts = RandomReal[{-1, 1}, {100, 2}]; 
VD = Show[VoronoiMesh[pts], Graphics[{Red, Point[pts]}]] 
 
 
 
 
Now, as per the  ... 
[computational-geometry] [mesh]
 
asked by TumbiSapichu https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=53229 7 votes
answered by kglr https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=125 7 votes
6.7.1.5 Contracting indices in lists

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=222037

Using an answer to this question (Working with Dirac Gamma Matrices using FeynCalc - A simple problem), I defined 
 
Clear[] 
SetAttributes[, Listable] 
[_] := If[ == 0, KroneckerProduct @@  ... 
[list-manipulation] [physics] [tensors] [indexing]
 
asked by FB20 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=72314 6 votes
answered by Chanto https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=35091 4 votes
6.7.1.6 How to extract all possible sub-products which match specific pattern?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=222285

I have an expression of the form 
 
expr = 3*(a.b)*(c.d)*f[x] + 5*(m.n)*(p.q)*(r.s)*f[y] 
 
 
and want to extract all possible subexpressions matching the pattern ((_).(_))*f[_]. 
Expected result (in  ... 
[pattern-matching] [filtering]
 
asked by Shadowray https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=47416 6 votes
answered by Marius Ladegård Meyer https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=22099 7 votes
6.7.1.7 Raytracing using Regions & NSolve

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=222105

I want to use geometric shapes in Mathematica to build complex shapes and use my raytracing algorithm on it. I have a working example where we can get the intersections from a combination of a Cone[]  ... 
[equation-solving] [graphics]
 
asked by Tomi https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=36939 6 votes
answered by Tim Laska https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=61809 5 votes